<script setup lang="ts">
import {onBeforeMount} from "vue";
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
import {useAppStore} from "@/store/models/app.ts";

dayjs.locale('zh-cn');
const appStore = useAppStore()
onBeforeMount(() => {
  appStore.renderMenu
})
</script>

<template>
  <a-config-provider :theme="{token:{colorPrimary:'#0f6fec',borderRadius:5}}" :locale="zhCN">
    <RouterView/>
  </a-config-provider>
</template>

<style scoped>

</style>
